package com.shanzhu.tourism.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2025/03/28/15:00
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductOrder {
    private Long orderId;
    private Long userId;
    private String orderNo;
    private BigDecimal totalAmount;
    private BigDecimal payAmount;
    private Integer orderStatus;
    private String shippingName;
    private String shippingPhone;
    private String shippingAddress;
    private Date paymentTime;
    private Date deliveryTime;
    private Date createTime;
    private Date updateTime;

    // 订单项列表
    @TableField(exist = false)
    private List<ProductOrderItem> orderItems;
}